<?php
namespace api\user\model;

use api\common\model\CommonModel;

class TaskModel extends CommonModel
{
    protected $resultSetType = 'collection';

    public function getTask($task_id,$user_id){
        return $this->where(['id'=>$task_id])->find();
    }
}
